//package com.jiazhong.ssm.test03RestFul.config;
//
//import org.springframework.context.annotation.ComponentScan;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer;
//import org.springframework.web.servlet.config.annotation.EnableWebMvc;
//import org.springframework.web.servlet.config.annotation.ViewResolverRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
///**
// * @Auther:shuXin
// */
//@EnableWebMvc
//@Configuration
//@ComponentScan("com.jiazhong.ssm.test03RestFul")
//public class SpringMvcConfig implements WebMvcConfigurer {
//
//    @Override
//    public void configureViewResolvers(ViewResolverRegistry registry) {
//        //指定静态资源的地址
//        registry.jsp("/WEB-INF/views/",".jsp");
//    }
//
//    //开启静态资源的查找
//    @Override
//    public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
//        configurer.enable();
//    }
//}
